package com.ccp.dev.system.model;

import com.ccp.dev.core.basic.model.BaseModel;

/**
 * 对象功能:系统分类表 Model对象
 *
 * @author caishaofan
 */
public class SysTypeKey extends BaseModel<SysTypeKey> {

    /**
     * 分类id
     */
    private String typeId;

    /**
     * 分类key
     */
    private String typeKey;

    /**
     * 分类名称
     */
    private String typeName;

    /**
     * 序号
     */
    private Integer sn;

    /**
     * 标识
     */
    private Integer flag;

    /**
     * 类型（平铺0，树型1）
     */
    private Integer type;

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeKey() {
        return typeKey;
    }

    public void setTypeKey(String typeKey) {
        this.typeKey = typeKey;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getSn() {
        return sn;
    }

    public void setSn(Integer sn) {
        this.sn = sn;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "SysTypeKey{" +
                "typeId='" + typeId + '\'' +
                ", typeKey='" + typeKey + '\'' +
                ", typeName='" + typeName + '\'' +
                ", sn=" + sn +
                ", flag=" + flag +
                ", type=" + type +
                ", createBy='" + createBy + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                ", tenantId='" + tenantId + '\'' +
                '}';
    }
}
